<%--
 *  File:    HospitalInfo.jsp
 *  @Author: Jamesli 
 *  Date:    2010/06/30
 *
 *  Copyright (C) 2000 - 2010 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  //init param
  Category cat = Category.getInstance("jsp.HospitalInfo");
  String strModuleName = "ERM";
  String privilegeCode = "10902";
  String contextPath = request.getContextPath();
%>
<% //--------------------  include files list --%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>

<html>
<head>
<title>HospitalInfo</title>
<PageFlow:CheckPageFlow pageName="p_hospitaldetail"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/Calendar.js"></script>
<script language="JavaScript">
function page_back()
{
	self.location.href = "HospitalSummary.jsp?<%= OvalTools.randomURL() %>&summaryidentify=hospital";
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td class="summary_top"></td>
  </tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" >
  <tr> 
    <td valign="top"> 
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="1">
          <tr> 
            <td colspan="4" class="deepblue-left"><img src="<%=contextPath %>/images/<%= strLanguageCode %>/quote.gif"> 
              	<%= label.getLabelName("L_BasicInfo") + label.getLabelName("L_Colon") %></td>
          </tr>
          <tr> 
            <td class="need" width="20%"><%=label.getLabelName("L_Hospital") + label.getLabelName("L_Code") + label.getLabelName("L_Colon") %></td>
            <td width="30%"><custom:write property="hospitalcode" name="hospitaldetail" nbsp="true"/></td>
            <td class="td-text" width="20%"><%= label.getLabelName("L_InfoDeptReferenceNo") + label.getLabelName("L_Colon") %></td>
            <td width="30%"><custom:write property="referenceorgcode" name="hospitaldetail" nbsp="true"/></td>
          </tr>
          <tr>
            <td class="need" ><%= label.getLabelName("L_Hospital") + label.getLabelName("L_Name") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="hospitalname" name="hospitaldetail" nbsp="true"/></td>
            <td class="need"><%= label.getLabelName("L_Hospital") + label.getLabelName("L_Shortname") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="shortname" name="hospitaldetail" nbsp="true"/></td>
          </tr>
          <tr>
          	<td class="td-text" ><%= label.getLabelName("L_ParentOrgShortName") + label.getLabelName("L_Colon") %></td>
            <td>
            	<custom:write property="parentorgname" name="hospitaldetail" nbsp="true"/>
            </td>
            <custom:hidden property="parentorgid" name="hospitaldetail"/>
            <td class="need"><%= label.getLabelName("L_SCMRole") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="globalpccode" name="hospitaldetail" nbsp="true" dictType="GlobalPCCode"/></td>
          </tr>
          <tr>
            <td class="need"><%=label.getLabelName("L_YilingLeve") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="yllevel" name="hospitaldetail" nbsp="true" dictType="YLHospitalLevel1"/></td>
            <td class="need"><%= label.getLabelName("L_Hospital") +  label.getLabelName("L_Grade") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="yllevel1" name="hospitaldetail" nbsp="true" dictType="YLHospitalLevel"/></td>
          </tr>
          <tr>
            <td class="need"><%= label.getLabelName("L_Country") + label.getLabelName("L_level") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="hospitallevel" name="hospitaldetail" nbsp="true" dictType="HospitalLevel"/></td>
          	<td class="need"><%= label.getLabelName("L_Province") + label.getLabelName("L_Colon") %></td>
            <td> 
            	<custom:write property="regionname" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
          <tr>
          	<td class="need"><%= label.getLabelName("L_City") + label.getLabelName("L_Colon") %></td>
          	<td>
            	<custom:write property="cityname" name="hospitaldetail" nbsp="true"/>
            </td>
            <td class="need"><%= label.getLabelName("L_County") + label.getLabelName("L_Colon") %></td>
            <td>
              	<custom:write property="countyname" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
          <tr>
          	<td class="td-text"><%= label.getLabelName("L_URL") + label.getLabelName("L_Colon") %></td>
          	<td>
          		<custom:write property="url" name="hospitaldetail" nbsp="true"/>
            </td>
            <td class="td-text"><%= label.getLabelName("L_Email") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="email" name="hospitaldetail" nbsp="true"/></td>
            </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_Telephone") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="telephone" name="hospitaldetail" nbsp="true"/></td>
            <td class="td-text"><%= label.getLabelName("L_Fax") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="fax" name="hospitaldetail" nbsp="true"/></td>
            </tr>
          <tr>
          	<td class="td-text"><%= label.getLabelName("L_ZipCode") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="zipcode" name="hospitaldetail" nbsp="true"/></td>
            <td class="need"><%= label.getLabelName("L_Status") + label.getLabelName("L_Colon") %></td>
            <td><custom:write name="hospitaldetail" property="statusname" nbsp="true"/></td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_Address") + label.getLabelName("L_Colon") %></td>
            <td colspan="3">
               <custom:write name="hospitaldetail" property="address" nbsp="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_Comments") + label.getLabelName("L_Colon") %></td>
            <td colspan="3"> 
               <custom:write name="hospitaldetail" property="comments" nbsp="true"/>
            </td>
          </tr>
        </table>
		<table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="1">
          <tr> 
            <td colspan="4" class="deepblue-left"><img src="<%=contextPath %>/images/cn/quote.gif"><%= label.getLabelName("L_ExtendInfo") + label.getLabelName("L_Colon") %></td>
          </tr>
          <tr>
     <%--
            <td class="td-text"><%=label.getLabelName("L_Hospital") + label.getLabelName("L_Attribute") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="property" name="hospitaldetail" nbsp="true" dictType="YLHospitalProperty"/></td>
      --%>
            <td class="td-text"><%= label.getLabelName("L_HospitalNature") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="property1" name="hospitaldetail" nbsp="true" dictType="YLHospitalProperty1"/></td>
         <td class="td-text"><%=label.getLabelName("L_Hospital") + label.getLabelName("L_Sort") + label.getLabelName("L_Colon") %></td>
            <td> <custom:write property="hospitaltype" name="hospitaldetail" nbsp="true" dictType="HospitalType"/></td>
        
          </tr>
          <tr>
           
            <td class="td-text"><%= label.getLabelName("L_YearSumIncome") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="yearlyincome" name="hospitaldetail" nbsp="true"/>
            </td>
            	<td class="td-text">&nbsp;</td>
			<td>&nbsp;</td>
            
		  </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_MarketShare") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="marketpercent" name="hospitaldetail" nbsp="true"/>
            </td>
          
            <td class="td-text"><%= label.getLabelName("L_YearDrugPurchaseNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="yearlypurchased" name="hospitaldetail" nbsp="true"/>
            </td>
			 </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_ChineseDrugPurchaseNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="yearlypurchasedcpm" name="hospitaldetail" nbsp="true"/>
            </td>
          	<td class="td-text" ><%= label.getLabelName("L_StockChanel") + label.getLabelName("L_Colon") %></td>
            <td>
            	<custom:write property="parentorgname" name="hospitaldetail" nbsp="true"/>
            </td>
 		  </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_HygieneDeptRanking") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="mohranking" name="hospitaldetail" nbsp="true"/>
            </td>
          
            <td class="td-text"><%= label.getLabelName("L_DayCureNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="dailyclinicalpatients" name="hospitaldetail" nbsp="true"/>
            </td>
			 </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_DoctorNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="doctornum" name="hospitaldetail" nbsp="true"/>
            </td>
          
            <td class="td-text"><%= label.getLabelName("L_CureProtectCondition") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="medicalinsurance" name="hospitaldetail" nbsp="true" dictType="MedicalInsurance"/>
            </td>
			 </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_BedNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="bunks" name="hospitaldetail" nbsp="true"/>
            </td>
           
            <td class="td-text"><%= label.getLabelName("L_ReceiptMan") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="consigner" name="hospitaldetail" nbsp="true"/>
            </td>
			 </tr>
          <tr> 
            <td class="td-text"><%=label.getLabelName("L_ReceiptMan") + label.getLabelName("L_Telephone") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="consignerphone" name="hospitaldetail" nbsp="true"/>
            </td>
			<td class="td-text">&nbsp;</td>
			<td>&nbsp;</td>
           </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_RecieverAddress") + label.getLabelName("L_Colon") %></td>
            <td colspan="3"> 
               <custom:write property="consigneraddr" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
		  <tr> 
            <td colspan="4" class="deepblue-left"><img src="<%=contextPath %>/images/cn/quote.gif"><%= label.getLabelName("L_OrgRegistrationInfo")%></td>	
          </tr>
          <tr> 
            <td class="td-text" width="20%"><%= label.getLabelName("L_OrgOpenDate") + label.getLabelName("L_Colon") %></td>
            <td width="30%">             
            <custom:write property="opendate" name="hospitaldetail" nbsp="true"/>
            </td>
            <td class="td-text" width="20%"><%= label.getLabelName("L_CorporatePerson") + label.getLabelName("L_Colon") %></td>
            <td width="30%"> 
               <custom:write property="corporateperson" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_CorpTypeName") + label.getLabelName("L_Colon")%></td>
            <td><custom:write  name="hospitaldetail" property="corporationtype" nbsp="true" dictType="CorporationType"/></td>
            <td class="td-text"><%= label.getLabelName("L_RegisterFund") + label.getLabelName("L_Colon")%></td>
            <td > 
               <custom:write property="registerfund" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_LicenseNumber") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="licenceno" name="hospitaldetail" nbsp="true"/>
            </td>
            <td class="td-text"><%= label.getLabelName("L_BankName") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="accountbank" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>  
          <tr> 
            <td class="td-text"><%= label.getLabelName("L_BankAccountNo") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="BankAccountNo" name="hospitaldetail" nbsp="true"/>
            </td>
            <td class="td-text"><%= label.getLabelName("L_IncrementValueDutyRegisterNO") + label.getLabelName("L_Colon") %></td>
            <td > 
               <custom:write property="taxno" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>  
          <tr> 
            <td class="td-text"><%=label.getLabelName("L_Register") + label.getLabelName("L_Address") + label.getLabelName("L_Colon") %></td>
            <td colspan="3"> 
               <custom:write property="registeraddress" name="hospitaldetail" nbsp="true"/>
            </td>
          </tr>
        </table>
      </td>
  </tr>
  <tr>
    <td class="summary_top"></td>
  </tr>
  <tr> 
      <td height="49" class="td_center">
      	<a onclick="page_back()"><custom:button type="1" label="L_Back" imgsrc="finish.gif" border="0" style="width:60"/></a>
      </td>
  </tr>
</table>
</body>
</html>